package gatoropoly.game.action;

import gatoropoly.game.Gatoropoly;

public class JailPayAction extends GatoropolyClientAction {

	public JailPayAction(Gatoropoly client) {
		super(client, "Pay");
	}

	public void perform() {
		client.jailPay();
	}

	public boolean canPerform() {
		return super.canPerform() && self().isJailed();
	}

}
